<%@ page contentType="text/html;charset=utf-8" 
	import="com.zh.UserBean,org.springframework.web.context.*,org.springframework.web.context.support.*,com.zh.Util,java.util.*,com.zh.User,com.zh.Level"
%>
<html>
  <head>
    <title>修改权限信息</title>
     <script language="JavaScript" src="script/com.js"></script>
     <script language="JavaScript">
       function check(){
       	 
       	 document.all.ss.submit();
       }
     </script>
     <style>
      table{
	         border-collapse:collapse;
	       }
	       table,th,td {
	       
	       border:1px solid black;
	       }
	       .mima {
	       width:100%;
	       height:40px;
	       background-color:#ADD8E6;
	       }
	       .zi {
	       font-size:20px;
	       position:relative;
	       left:45%;
	       margin-left:-30px;
	       line-height:40px;
	       }
	</style>
  </head>
  <body>
 	<jsp:useBean id="userBean" class="com.zh.UserBean" scope="session"/>
	<div class="mima"><font class="zi">修改权限信息</font></div>
	<% 
		Level L = (Level)request.getAttribute("object");
	 %>
	<form action="SuperServlet" method="post" id="ss">
	<table  width="80%" border="1" style="margin-left:150px;margin-top:15px">	
	  <tr >
	    <td align="center" height="30px">用户名:</td>
	    <td><%= L.getLname() %></td>
	  </tr>
	  
	  <tr >
	  	<td align="center" height="30px">密码:</td>
	  	<td><%= L.getLpwd() %></td>
	  </tr>
	  
	  	<tr >
	  	<td align="center" height="30px">权限:</td>
	  	<td>
	  	<select name="states" > 
      	    	<option value="超级">超级</option>
      	    	<option value="普通">普通</option>     	   
      	  </select>
      	</td>
	  </tr>
	     <tr>
		   <td  colspan="2" height="30px">
		   <div  style="position:relative;left:35%;">
		   <input type="button" value="提交" id="xg" onclick="JavaScript:check()" style="cursor:hand"/>
		   <input type="button" value="重置" id="cz" onclick="JavaScript:document.all.ss.reset()"  style="cursor:hand">
		   </div>
		   </td>
		 </tr>
	</table>
	     <input type="hidden" name="action" value="mdlevel"/>
	     <input type="hidden" name="lid" value="<%= L.getLid() %>"/>
	     <input type="hidden" name="lname" value="<%= L.getLname() %>"/>
	     <input type="hidden" name="lpwd" value="<%= L.getLpwd() %>"/>
	     </form>
  </body>
</html>